<?php /* Smarty version Smarty-3.0.7, created on 2014-12-22 17:49:29
         compiled from "E:/project/runtime/development/lab/tryPHP/app_y001/view\oui/guestbook/list.html" */ ?>
<?php /*%%SmartyHeaderCode:326055497e9293cd7b4-85713571%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'de7ac12478fcb5580a315fb3260b1725e02e05e7' => 
    array (
      0 => 'E:/project/runtime/development/lab/tryPHP/app_y001/view\\oui/guestbook/list.html',
      1 => 1419241767,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '326055497e9293cd7b4-85713571',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("oui/public/header.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
<?php $_template = new Smarty_Internal_Template("oui/public/navibar.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
<?php $_template = new Smarty_Internal_Template("oui/public/sidebar.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
<div class="header">
    <div class="stats"><p class="stat"><!--旁注--></p></div>
    <h1 class="page-title"><?php echo $_smarty_tpl->getVariable('data')->value['meta']['title'];?>
</h1>
</div>
<!--优雅的分隔线-1-->
<ul class="breadcrumb">
    <li><a>控制面板</a><span class="divider">/</span></li>
    <li><a href=<?php echo $_smarty_tpl->smarty->registered_objects['Route'][0]->MakeHyperLink(':gather');?>
>网站设置</a><span class="divider">/</span></li>
    <li class="active"><?php echo $_smarty_tpl->getVariable('data')->value['meta']['title'];?>
</li>
</ul>
<!--优雅的分隔线-2-->
<div class="container-fluid">
    <div class="row-fluid">
            <!--优雅的分隔线-->
            <br/>
            <div class="accordion" id="accordion2">
                <?php  $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('data')->value['base']['Rows']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['guestbook']['index']=-1;
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['guestbook']['index']++;
?>
                <?php $_smarty_tpl->tpl_vars['id'] = new Smarty_variable($_smarty_tpl->getVariable('smarty')->value['foreach']['guestbook']['index']+1, null, null);?>
                <?php $_smarty_tpl->tpl_vars['list1_id'] = new Smarty_variable($_smarty_tpl->tpl_vars['row']->value['id'], null, null);?>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href=#collapseOne<?php echo $_smarty_tpl->getVariable('id')->value;?>
>
                            <strong><?php echo $_smarty_tpl->getVariable('id')->value;?>
、<?php echo $_smarty_tpl->tpl_vars['row']->value['title'];?>
</strong>
                            <i class="icon-trash" style="float: right" data-toggle="modal" x-delete="true" href=<?php echo $_smarty_tpl->smarty->registered_objects['Route'][0]->MakeHyperLink(":guestbook::delete","id:".($_smarty_tpl->getVariable('list1_id')->value));?>
></i>
                        </a>
                    </div>
                    <div class="accordion-body collapse" id=collapseOne<?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['guestbook']['index']+1;?>
>
                        <div class="accordion-inner">
                            <?php echo $_smarty_tpl->tpl_vars['row']->value['content'];?>

                            <div style="color: #cccccc;padding-top:5px;">
                                联系人：<?php echo $_smarty_tpl->tpl_vars['row']->value['linkman'];?>
　
                                电话：<?php echo $_smarty_tpl->tpl_vars['row']->value['phone'];?>
　
                                电子邮件：<?php echo $_smarty_tpl->tpl_vars['row']->value['email'];?>
　
                                <span style="float: right;"><?php echo $_smarty_tpl->tpl_vars['row']->value['datetime'];?>
</span>
                            </div>
                        </div>
                    </div>
                </div>
                <?php }} ?>
            </div>
            <!--优雅的分隔线-->
            <ul class="pager">
                <input id="error" type="hidden" value=""/>
                <input id="protocol" type="hidden" value=tryPHP_<?php echo @TRYPHP_ROUTE_PROTOCOL;?>
>
                <input id="protocol-data" type="hidden" value=<?php echo $_smarty_tpl->smarty->registered_objects['Route'][0]->MakeHyperlink('__SELF__');?>
>
                <input id="rowCount" type="hidden" value=<?php echo $_smarty_tpl->getVariable('data')->value['base']['Meta']['RowCount'];?>
>
                <input id="pageSize" type="hidden" value=<?php echo $_smarty_tpl->getVariable('data')->value['base']['Meta']['PageSize'];?>
>
                <input id="pageCount" type="hidden" value=<?php echo $_smarty_tpl->getVariable('data')->value['base']['Meta']['PageCount'];?>
>
                <input id="pagination" type="hidden" value=<?php echo $_smarty_tpl->getVariable('data')->value['base']['Meta']['Pagination'];?>
>
                <input id="parameters" type="hidden" value=<?php echo Route::ArgumentsToString($_smarty_tpl->getVariable('data')->value['urlArguments']);?>
>
                <li class="previous">
                    <a id="previousLink">上一页</a>
                </li>
                <li class="next">
                    <a id="nextLink">下一页 </a>
                </li>
            </ul>
            <!--优雅的分隔线-->
            <script type="text/javascript" src=<?php echo @APP_PATH;?>
/view/oui/scripts/library/trigger.list-delete.js></script>
            <!--优雅的分隔线-->
            <script type="text/javascript" src=<?php echo @BUILD_PATH;?>
/public/JEAR/jquery/plugins/jquery.pager.js></script>
            <!--优雅的分隔线-->
            <script type="text/javascript" src=<?php echo @APP_PATH;?>
/view/oui/scripts/guestbook.list.js></script>
<?php $_template = new Smarty_Internal_Template("oui/public/footer.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>